package com.zdj.data.services;

import com.zdj.data.entity.TestUserEntity;
import com.zdj.data.response.TestResponse;

import retrofit2.adapter.rxjava.Result;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by zdj on 16-10-6.
 */

public interface ITestUserEntityService {

    @GET(value = "getUserEntity.json")
    Observable<Result<TestUserEntity>> getUserEntity();

    @GET(value = "searchSchool")
    Observable<Result<TestResponse>> testGson(@Query("search_key") String tip);
}
